#include<stdio.h>
unsigned char ctab[256];
void init()
{
  int i = 0;
  for (i = 0; i < 256; i++)
    ctab[i] = i;
}

char *
translit_text (s, len, from, to)
     char *s;
     int len;
     int from;
     int to;
{
  static int i = 0;

  unsigned char *us;

  ctab[i] = i;			/* restore table to initial state */
  ctab[i = from] = to;
  for (us = (unsigned char *) s; len-- > 0; us++)
    *us = ctab[*us];
  return s;
}


int main(int argc, char *argv[])
{
  
  return 0;
}
